#pragma once
#include "entity.h"
#include "../SGD Wrappers/CSGD_TextureManager.h"

class CBullet : public CEntity
{
public:
	CBullet(void);
	virtual ~CBullet(void);

//Inherited from CEntity///////////////////////////////
	virtual void Update	(float fElapsedTime);
	virtual void Render	(void);
	virtual RECT GetRect(void) const;
	virtual bool CheckCollision( IEntity* pOther );
///////////////////////////////////////////////////////

	float		GetCurrRotation(void) const {return m_fCurrentRotation;}
	void		SetCurrRotation (float r)	{m_fCurrentRotation = r;}
	CEntity*	GetOwner(void) const { return owner; }
	void		SetOwner(CEntity* ptr);
	
	CSGD_TextureManager*	m_pTM;

private:
	float		m_fCurrentRotation;
	CEntity*	owner;

};

